import axios from '../../axios';

const clients = {
    getClients:()=>{
        return axios({
            url:'/client/getClients',
            method:'get'
        })
    },
    delClients:(_id)=>{
        return axios({
            url:'/client/delMyClient',
            method:'post',
            data:{_id}
        })
    },
    modMyClient:(data)=>{
        return axios({
            url:"/client/modMyClient",
            method:'post',
            data:{...data}
        })
    }
}

export default clients;